<?php
/**
 * Created by PhpStorm.
 * User: zhangbing
 * Date: 2018/12/12
 * Time: 17:01
 */
namespace app\common\exception;

class ValidateException extends BaseException {
    //默认状态码
    public $status = 400;
    //默认code码
    public $code   = 400;
    //默认返回信息
    public $msg    = 'Parameter Error';

    public function __construct($msg='') {
        $msg && $this->msg = $msg;
    }
}

